package cn.itcast;
import java.util.Date;

import cn.itcast.domain.company.Company;
import com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIConversion;
import org.junit.Test;

public class App {
    @Test
    public void test() {
        // 给对象属性赋值
        Company company = new Company();
        company.setId("100");
        company.setName("传智播客");
        System.out.println(company);
    }

    @Test
    public void test2() {
        Company company =
                Company.builder().id("100").name("传智播客").build();
        System.out.println(company);
    }
}
